home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / PATH.HLP < prev    next >
Text File  |  1985-09-10  |  2KB  |  55 lines

  1. ------------------------  PATH - Internal DOS Command  -------------------------
  2.  
  3. PATH specifies the directories to be searched for commands, programs or batch
  4.    files that are not in the current directory.
  5.  
  6. FORMAT:   PATH [[d:]path[[;[d:]path]...]]
  7.  
  8. REMARKS:
  9.  
  10.    d:   - the drive to be searched.  If omitted, the default drive is assumed.
  11.    path - the directory path to be used in the search.  Must be specified.
  12.  
  13.    Multiple drives and path names may be specified, separated by semicolons.
  14.  
  15.    If DOS cannot find a command, program or batch file (files with a filename
  16.    extension of .EXE, .COM or .BAT only) in the current directory, it searches
  17.    the drives/directories specified in the PATH command.  If multiple
  18.    directories are specified, the search is done in the order in which they were
  19.    specified.
  20.  
  21.    Entering PATH with no parameters displays the current path setting.
  22.  
  23.    Entering PATH; resets the search path to null.  DOS then looks in the current
  24.    directory only for commands, programs and batch files.  This is the default
  25.    when the system is started.
  26.  
  27.    Erroneous information in the PATH command will not be detected until DOS
  28.    needs to search to specified directories.
  29.  
  30.    If a specified path does not exist at the time DOS needs to search it, DOS
  31.    ignores that path and tries the next path.
  32.  
  33. EXAMPLES:
  34.  
  35. Have DOS search the directories C:\DOS, C:\MYBATCH and C:\UTIL for commands,
  36. programs and batch files:
  37.  
  38.           PATH C:\DOS;C:\MYBATCH;C:\UTIL
  39.  
  40.  
  41. Have DOS search the directories A:\ and A:\HELPDOS for commands, programs and
  42. batch files:
  43.  
  44.           PATH A:\;A:\HELPDOS
  45.  
  46.  
  47. Display current path setting:
  48.  
  49.           PATH
  50.  
  51.  
  52. Reset path settings to null (only the current directory will be searched):
  53.  
  54.           PATH;
  55.